package com;

import java.io.Serializable;
import java.util.List;

/**
 *
 * @TableName tb_orders
 */
public class Orders implements Serializable {
    /**
     *
     */
    private Integer id;

    /**
     *
     */
    private String number;

    private List<Product> productList;


    private static final long serialVersionUID = 1L;

    /**
     *
     */
    public Integer getId() {
        return id;
    }

    /**
     *
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     *
     */
    public String getNumber() {
        return number;
    }

    /**
     *
     */
    public void setNumber(String number) {
        this.number = number;
    }




    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append(", id=").append(id);
        sb.append(", number=").append(number);
        sb.append(", productList=").append(productList);
        sb.append("]");
        return sb.toString();
    }

    public List<Product> getProductList() {
        return productList;
    }

    public void setProductList(List<Product> productList) {
        this.productList = productList;
    }
}
